package cn.bonoon.kernel.menus;

import cn.bonoon.entities.RoleEntity;

public interface ModulePrivilegeLoader {
	
	RoleEntity get(Long id);

	void rolePrivilege(MenuPrivilegeReader reader, Long... rids);

	void accountPrivilege(MenuPrivilegeReader reader, Long aid);
	
}
